<template>
    <div>
        <Person :list="personList"/>
    </div>
</template>

<script lang="ts" setup name="App">
import Person from "@/components/Person.vue";
import {Persons} from "@/types";
import {reactive} from "vue";

let personList = reactive<Persons>([
    {id: 'flafjla1',name: 'zs1',age: 22},
    {id: 'flafjla2',name: 'zs2',age: 22},
    {id: 'flafjla3',name: 'zs3',age: 22}
])
</script>

<style scoped>

</style>
